package com.hmall.item.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hmall.item.pojo.Item;

public interface IItemService extends IService<Item> {

    //扣减库存
    void deductStock(Long itemId, Integer num);

    //恢复库存
    void restoreStock(Long itemId,Integer num);

}
